import request from '@/utils/request'

export function GetBoardModel(data) {
  return request({
    url: '/api/BoardModel/GetBoardModel',
    method: 'post',
    data
  })
}

export function GetBoardModelDetail(params) {
  return request({
    url: '/api/BoardModel/GetBoardModelDetail',
    method: 'get',
    params
  })
}

export function ModifyBoardModelAndDetail(data) {
  return request({
    url: '/api/BoardModel/ModifyBoardModelAndDetail',
    method: 'post',
    data
  })
}

//  POST /api/BoardModel/ModifyBoardModelAndDetail

export function DeleteBoardModel(params) {
  return request({
    url: '/api/BoardModel/DeleteBoardModel',
    method: 'post',
    params
  })
}
